import "es6-promise/auto";
import 'core-js/es6/map';
import 'core-js/es6/set';

import React from 'react';
import ReactDOM from 'react-dom';

import './index.less';
import '@/app-lib/axios.config.js'

import App from './Container';
import { LocaleProvider } from 'antd';
import zh_CN from 'antd/lib/locale-provider/zh_CN';
import {Provider} from 'react-redux'
import store from '@/store'
import login from '@/login-controller/login'

// 登录
login()

//全局userAgent
window.ua = navigator.userAgent.toLowerCase();

//客户端下载链接
window.dowloadjskpDoc = "//nnfw.jss.com.cn/BE644DD01FB447A28E58687F5AAFE24E/jskp_computer_file.zip";
window.dowloadjskpbai = "//nnfw.jss.com.cn/C87C984458F14CE19DB2BC784F08F1AF/JSKP_4.2.3.3.03.exe";
window.dowloadjskphei = "//nnfw.jss.com.cn/45D6FD51C17D4597929A3E2946EAA887/JSKP_UnSignatureSetup1.0.3.4.exe";



ReactDOM.render(
  <LocaleProvider locale={zh_CN}>
    <Provider store={store}>
      <App />
    </Provider>
  </LocaleProvider>
  , document.getElementById('root'));
